/* ==========================================
   BIG1 PROPERTY FILTER
========================================== */

.big1-property-filter {
    width: 100%;
    background: #ffffff;
    border-radius: 4px;
}


/* FORM */

.big1-property-filter-form {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 0;
}


/* FIELD */

.big1-filter-field {
    position: relative;
    flex: 0 0 auto;
}


/* SELECT */

.big1-filter-select {

    appearance: none;
    -webkit-appearance: none;

    min-width: 145px;

    padding:
        20px
        42px
        20px
        18px;

    margin: 0;

    border: 0;
    border-radius: 0;

    outline: none;

    background-color: transparent;

    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;

    color: inherit;

    cursor: pointer;


    /* Custom arrow */

    background-image:

        linear-gradient(
            45deg,
            transparent 50%,
            currentColor 50%
        ),

        linear-gradient(
            135deg,
            currentColor 50%,
            transparent 50%
        );

    background-position:

        calc(100% - 18px) 50%,

        calc(100% - 13px) 50%;

    background-size:

        5px 5px,

        5px 5px;

    background-repeat: no-repeat;
}


.big1-filter-select:hover {
    opacity: 0.8;
}


.big1-filter-select:focus {
    outline: none;
    box-shadow: none;
}


/* RESET */

.big1-filter-reset-wrap {
    margin-left: auto;
}


.big1-filter-reset {

    display: inline-flex;
    align-items: center;

    padding: 12px 18px;

    font-family: inherit;
    font-size: 14px;

    text-decoration: none;

    color: inherit;

    transition: opacity 0.2s ease;
}


.big1-filter-reset:hover {
    opacity: 0.65;
}


/* ==========================================
   TABLET
========================================== */

@media (max-width: 1024px) {

    .big1-filter-select {
        min-width: 125px;

        padding-left: 12px;
        padding-right: 35px;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {

    .big1-property-filter {
        padding: 12px;
    }


    .big1-property-filter-form {

        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;
    }


    .big1-filter-field {
        width: 100%;
    }


    .big1-filter-select {

        width: 100%;
        min-width: 0;

        padding:
            13px
            35px
            13px
            12px;

        border: 1px solid #e5e5e5;

        background-color: #ffffff;
    }


    .big1-filter-reset-wrap {
        margin-left: 0;
    }


    .big1-filter-reset {
        padding: 12px;
    }

}


/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {

    .big1-property-filter-form {
        grid-template-columns: 1fr;
    }

}