.wpg-gallery-item button:hover {
    background: #000;
}

div.wpg-gallery {
    display: flex;
    flex-wrap: wrap;
    padding: 5px;
    text-align: center;
    justify-content: center;
}

.wpg-gallery-item {
    display: flex;
    flex-direction: column;
    margin: 1em;
    padding: 1em;
    /* border: 1px solid #ccc;*/
    width: 300px;
    word-break: break-word;
}

.wpg-gallery-item div.price {
    padding: 1em;
    font-weight: bold;

}

.wpg-gallery-item h2.title {
    font-size: 3rem;
    margin-top: 0;
    font-feature-settings: "lnum";
    font-variant-numeric: lining-nums;
    font-weight: 700;
    letter-spacing: -0.0415625em;
    line-height: 1.25;
}

.gallery-item-text-content {
    border: 1px solid #ccc;
    margin-top: 1em;
}


.wpg-gallery-item button {
    margin-top: -50%;
    border-radius: 1rem;
}


.wpg-gallery-item img {
    padding: 1em;
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin: 0;
}


/* Contact form CSS */
#gallery-with-quote-contact-form-div {
    display: none;
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    width: 370px;
    padding: 2rem;
    overflow-y: auto;
    -ms-overflow-style: none; /* for Internet Explorer, Edge */
    scrollbar-width: none; /* for Firefox */
    z-index: 2000;
    box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
    border-radius: 5px;
    background: linear-gradient(-45deg, #f8f07f, #ffffff, #ffd32f, #ffffff);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    height: 90vh;
}

#gallery-with-quote-contact-form-div > form label {
    margin: 0 0 0 0;
}

.click-link {
    cursor: pointer;
}

#gallery-with-quote-contact-form-div::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
}


@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Medium screen devices (768px and below) */
@media only screen and (max-width: 768px) {
    #gallery-with-quote-contact-form-div {
        width: 100%;
        height: 100vh;
        right: 0;
        bottom: 0;
    }
}

#gallery-with-quote-contact-form-div input[type=text],
#gallery-with-quote-contact-form-div input[type=email] {
    width: 100%;
    padding: 12px 20px;
    margin: 8px 0;
    display: inline-block;
    border: 2px solid #ccc;
    box-sizing: border-box;
    margin-bottom: 2rem;
}

.gwqf-prod-info {
    margin-bottom: 2rem;
}

form#gallery-with-quote-contact-form input {
    padding: 0.5rem;
    font-family: inherit;
    font-size: inherit;
}

#gallery-with-quote-contact-form h2 {
    font-size: 3rem;
    padding: 0;
    margin: 0;
    margin-bottom: 2rem;
}

#gallery-with-quote-contact-form {

}

#gallery-with-quote-contact-form {

}

#gallery-with-quote-contact-form {

}

#gallery-with-quote-contact-form {

}
