
.w-form-fail {
    display: block;
}

.external-logins {
    display: flex;
    flex-direction: column;
    gap: 2em;
}

.sign-up-form {
    margin-bottom: 2em;
}

form .field-validation-error {
    color: red;
}

@media (max-width:990px) {
    .search-sidebar {
        opacity: 0;
        transform: translate3d(-100%, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
        transform-style: preserve-3d;
        transition: all ease-in 500ms;
    }

        .search-sidebar.open {
            opacity: 1;
            transform: translate3d(0%, 0px, 0px) scale3d(1, 1, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
            transform-style: preserve-3d;
            transition: all ease-in 500ms;
        }

    .filter-trigger {
        cursor: pointer;
    }
}

.no-vertical-padding {
    padding-top: 0;
    padding-bottom: 0;
}

.masonry-gallery-picture {
    grid-column-gap: 0.2em;
    grid-row-gap: 0.2em;
    column-count: 4;
    flex-flow: wrap;
    grid-template-rows: auto auto;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-auto-columns: 1fr;
    justify-content: flex-start;
    column-gap: 0.2em;
    margin-top: 2em;
}

    .masonry-gallery-picture .image-container-gallery {
        margin-bottom: 0.2em;
        background-color: var(--neutral-60);
        width: 100%;
    }

        .masonry-gallery-picture .image-container-gallery img {
            min-height: calc(100vw / 4 / (259/173));
            width: 100%;
        }

@media screen and (max-width: 767px) {
    .masonry-gallery-picture {
        column-count: 2;
    }

        .masonry-gallery-picture .image-container-gallery {
            margin-bottom: 0.2em;
        }

            .masonry-gallery-picture .image-container-gallery img {
                min-height: calc(100vw / 2 / (259/173));
            }
}


#downloadpictures-modal .row {
    display: flex;
}


#contact-modal .modal {
    max-height: 90vh;
}

#downloadpictures-modal .modal {
    max-height: 90vh;
    height: 100%;
    overflow: unset;
    padding-bottom: 1em;
}

    #downloadpictures-modal .modal .modal-content {
        flex-direction: column;
        height: 100%;
    }

#downloadpictures-modal .modal-body {
    overflow-y: scroll;
    flex: 1;
}

#downloadpictures-modal .modal-footer {
    display: flex;
    margin-top: 1em;
}

#downloadpictures-modal .estate-pictures {
    flex-wrap: wrap;
    row-gap: 10px;
    justify-content: center;
}


#downloadpictures-modal .modal-content {
    display: flex;
}

.image-grid {
    /* Arrange children using flexbox */
    display: flex;
    /* ALlow images to display on multiple lines rather than a single line */
    flex-wrap: wrap;
    /* Container should take up only 90% of the browser, leave 5% space on each side */
    width: 90%;
    /* Center container */
    margin: 0 auto;
}

.grid-image {
    /* images display inline by default and act like text. We want them to act like divs, so display block */
    display: block;
    /* our width setting for mobile, one image per line */
    flex-basis: 100%;
    /* provide some space between our images */
    padding: 10px;
    /* ensure padding doesn't cause images to wrap, it should be within the width rather than in addition */
    box-sizing: border-box;
}

.flex-column {
    -ms-flex-direction: column !important;
    flex-direction: column !important;
}

.nav {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
}

.side-nav a {
    border-bottom: .1rem solid rgba(0, 0, 0, .1);
    padding: 1.5rem 0 1.5rem 0;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
}


/* increase images per line as browser gets larger using media queries
   this first query makes two images per line at 640px width */
@media only screen and (min-width: 640px) {
    .grid-image {
        flex-basis: 50%;
    }
}

/* three images per line when browser width exceeds 960px */
@media only screen and (min-width: 960px) {
    .grid-image {
        flex-basis: 33.333%;
    }
}

/* four images per line when browser width exceeds 1280px */
@media only screen and (min-width: 1280px) {
    .grid-image {
        flex-basis: 25%;
    }
}

/* five images per line when browser width exceeds 1600px */
@media only screen and (min-width: 1600px) {
    .grid-image {
        flex-basis: 20%;
    }
}

.image-item {
    aspect-ratio: initial;
}

.filters-list {
    max-height: 50vh;
    overflow-y: scroll;
    overflow-x: hidden;
}

.filter-button {
    white-space: pre;
}


.checkbox-level-0 {
    font-weight: bold;
}

.checkbox-level-1 {
    padding-left: 0.75rem;
}

.checkbox-level-2 {
    margin-left: 1rem;
    padding-left: 0.75rem;
    margin-bottom: -0.2em;
    border-left: 1px solid var(--black-100);
}
