#newsletter-image-selection {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}

#newsletter-image-selection .image-select {
    width: 260px;
    height: 160px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: rgba(0,0,0,0.1);
    border-radius: 5px;
    border: 10px solid transparent;
    margin: 5px;
    cursor: pointer;
    transition: .1s;
}

#newsletter-image-selection .image-select:hover {
    background-color: rgba(0,0,0,0.2);
}

#newsletter-image-selection .image-select.selected {
    background-color: darkseagreen;
}

.field--name-field-newsletter-image {
    /*display: none;*/
}

#newsletter-image-selection .loading {
    font-size: 45px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    animation: rotate360 1s infinite;
    padding: 20px;
}

@keyframes rotate360 {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(360deg);
    }
}
