.modal {
    h3 {
        margin-bottom: 1rem;
    }
    .image-grid {
        padding: 0;

        .select  {
            position: absolute;
            top: $image-padding;
            bottom: $image-padding;
            left: $image-padding;
            right: $image-padding;
            display: none;
            text-align: center;

            i {
                height: 6rem;
                line-height: 6rem;
                position: absolute;
                top: 50%;
                left: 0;
                margin-top: -3rem;
                color: $white;
                width: 100%;
            }
        }

        .image:hover {
            .select {
                display: block;
                background-color: rgba(0,0,0,0.5);
            }
        }
    }
}

.add-image, .set-image {
    background-color: $lightgray;
    position: relative;
    i {
        height: 6rem;
        line-height: 6rem;
        margin-top: -3rem;
        position: absolute;
        top: 50%;
        width: 100%;
        text-align: center;

    }
}

.selected-images {
    padding: 0.5rem 0 0;

    .image {
        margin-bottom: 0.5rem;
        .filename {
            position: absolute;
            bottom: 0;
            left: 0.5rem;
            right: 0;
            height: auto;
            text-align: left;
            line-height: 2rem;
            height: 2rem;
            background-color: $lightgray;
            word-wrap: break-word;

            i {
                cursor: pointer;
                font-size: 1.2em;
                margin-right: 0.25rem;

                &.fa-star {
                    color: $gold;
                }
            }
        }

        .delete {
            position: absolute;
            top:0;
            right: 0;
            background-color: $blue;
            color: $white;
            width: 0;
            height: 2rem;
            text-align: center;
            transition: .3s ease all;
            -webkit-transition: .3s ease all;
            overflow: hidden;

            .delete-inner {
                width: 2rem;
                height: 2rem;
                display: block;
                i {
                    width: 2rem;
                    margin: 0 !important;
                }
            }
        }
        &:hover .delete {
            width: 2rem;
        }

        &:not(:first-child) i {
            margin-left: 0.5rem;
            top: 0;
            left: 0;
            bottom: 0;
            right: 0;
        }
    }
}

.image-help-text {
    h3 {
        margin-top: 0.5rem;
    }
}
