/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */


.omni-property-listing-wrapper {
    width: 75rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;

    .omni-property-listing-header {
        margin-bottom: 1rem;
    }
    .button {
        border: none;
        padding: 0.5em;
        overflow: visible;
        font: inherit;
        line-height: normal;
        -webkit-font-smoothing: inherit;
        -moz-osx-font-smoothing: inherit;
        -webkit-appearance: none;

        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgb(237, 187, 95);
        color: black;

        border-radius: 0.5rem;
    }

    #omni-location-form {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        justify-content: flex-start;
        align-items: center;

        .button {
            height: 2rem;
        }

        .omni-location-input {
            height: 2rem;
            width: 20rem;
        }
    }

    .omni-property-listing {
        margin-top: 2rem;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 2rem;
        justify-content: flex-start;

        .omni-single-property {

            display: flex;
            flex-basis: calc(33.33% - 2rem);
            flex-direction: column;

            .omni-listing-panel-image {
                aspect-ratio: 4/2;
                width: 100%;
                overflow: hidden;

                img {
                    width: 100%;
                    height: 100%;
                    object-fit: cover;
                    object-position: center;
                }
            }

            .omni-listing-panel-info {
                padding: 0.5rem 0.75rem 0.75rem 0.75rem;
                height: 5.5rem;
                background-color: #3d3d3d;
                color: #d3d3d3;
                border-top: 2px solid rgb(237, 187, 95);

                .omni-listing-name {
                    height: 3rem;
                    line-height: 1.4;
                    margin-bottom: 0.5rem;
                    font-weight: bold;
                }

                .omni-listing-panel-bottom {
                    display: flex;
                    flex-direction: row;
                    justify-content: space-between;
                    align-items: flex-end;
                    height: 2rem;

                    .omni-listing-button-wrapper {
                        height: 100%;

                        .button {
                            margin: 0 0 0 auto;
                            width: 10rem;
                        }
                    }

                }
            }
        }
    }
}