/**
 * @copyright (C) Copyright Bobbing Wide 2023, 2024
 * @package: field-block-for-acf-pro
 * CSS for the acf-field block  aka wp-block-acf-field-acf-field
 */

.acf-type-gallery ul > li,
.acf-type-gallery div.value ul > li {
    list-style:none;
}

.acf-type-gallery ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding-inline-start: 0px;

}

.acf-type-gallery ul > li {
    flex-basis: 33%;
    position: relative;
    cursor: pointer;
}
/*
.acf-type.gallery ul::after {
    content: "";
    flex-basis: 20%;
}
*/


.acf-type-gallery li img {
    object-fit: cover;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    /*  border-radius: 5px; */
}

.acf-type-colour_picker span {
    padding: 0px 20px;
    border: 1px solid rgb(126,137,147);
    border-radius: 3px;
}

.acf-map {
    width: 100%;
    height: 400px;
    border: #ccc solid 1px;
    margin: 20px 0;
}

/* Fixes potential theme css conflict. */
 .acf-map img {
    max-width: inherit !important;
 }