/* =========================================================
   HOME SEARCH FORM
   ========================================================= */

/*.banner-filter-form {*/
/*    width: 100%;*/
/*}*/

/*.banner-filter-form .form-wrapper {*/
/*    width: 100%;*/
/*    padding: 10px;*/
/*    background: #ffffff;*/
/*    border-radius: 18px;*/
/*}*/

/*.banner-filter-form .row {*/
/*    width: 100%;*/
/*    margin: 0;*/
/*}*/

/* ---------------------------------------------------------
   Individual fields
   --------------------------------------------------------- */

/*.banner-filter-form .search-field {*/
/*    padding: 0;*/
/*}*/

/*.banner-filter-form .input-group {*/
/*    min-height: 54px;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    padding: 0 15px;*/
/*    border-right: 1px solid #e5e5e5;*/
/*}*/

/*.banner-filter-form .input-group label {*/
/*    flex: 0 0 auto;*/
/*    margin: 0 10px 0 0;*/
/*    font-size: 17px;*/
/*    line-height: 1;*/
/*}*/

/*.banner-filter-form .input-group .form-control {*/
/*    width: 100%;*/
/*    min-width: 0;*/
/*    height: 45px;*/
/*    padding: 0;*/
/*    border: 0;*/
/*    outline: none;*/
/*    box-shadow: none;*/
/*    background: transparent;*/
/*}*/

/* ---------------------------------------------------------
   Select2
   --------------------------------------------------------- */

/*.banner-filter-form .select2-container {*/
/*    width: 100% !important;*/
/*}*/

/*.banner-filter-form*/
/*.select2-container--default*/
/*.select2-selection--single {*/
/*    height: 45px;*/
/*    border: 0;*/
/*    background: transparent;*/
/*    border-radius: 0;*/
/*    display: flex;*/
/*    align-items: center;*/
/*}*/

/*.banner-filter-form*/
/*.select2-container--default*/
/*.select2-selection--single*/
/*.select2-selection__rendered {*/
/*    width: 100%;*/
/*    padding: 0 30px 0 0;*/
/*    line-height: 45px;*/
/*    color: #555;*/
/*}*/

/*.banner-filter-form*/
/*.select2-container--default*/
/*.select2-selection--single*/
/*.select2-selection__arrow {*/
/*    height: 45px;*/
/*    top: 0;*/
/*    right: 0;*/
/*}*/

/* ---------------------------------------------------------
   Search button
   --------------------------------------------------------- */

/*.banner-filter-form .search-button-wrapper {*/
/*    padding: 0 5px;*/
/*}*/

/*.banner-filter-form .search-submit-btn {*/
/*    width: 100%;*/
/*    min-height: 54px;*/
/*    padding: 0 12px;*/
/*    border: 0;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    gap: 7px;*/
/*    white-space: nowrap;*/
/*}*/

/*.banner-filter-form .search-submit-btn i {*/
/*    font-size: 16px;*/
/*}*/

/*.banner-filter-form .search-button-text {*/
/*    display: none;*/
/*}*/

/* =========================================================
   TABLET
   ========================================================= */

/*@media (max-width: 991.98px) {*/

/*    .banner-filter-form .form-wrapper {*/
/*        padding: 12px;*/
/*    }*/

/*    .banner-filter-form .search-field {*/
/*        margin-bottom: 8px;*/
/*    }*/

/*    .banner-filter-form .input-group {*/
/*        border-right: 0;*/
/*        border: 1px solid #e5e5e5;*/
/*        border-radius: 10px;*/
/*        background: #fff;*/
/*    }*/

/*    .banner-filter-form .search-button-wrapper {*/
/*        padding: 0;*/
/*    }*/

/*    .banner-filter-form .search-submit-btn {*/
/*        min-height: 52px;*/
/*    }*/

/*    .banner-filter-form .search-button-text {*/
/*        display: inline;*/
/*    }*/
/*}*/

/* =========================================================
   MOBILE
   ========================================================= */

/*@media (max-width: 575.98px) {*/

/*    .banner-filter-form {*/
/*        width: 100%;*/
/*    }*/

/*    .banner-filter-form .form-wrapper {*/
/*        padding: 12px;*/
/*        border-radius: 15px;*/
/*    }*/

/*    .banner-filter-form .search-field {*/
/*        width: 100%;*/
/*        margin-bottom: 10px;*/
/*    }*/

/*    .banner-filter-form .input-group {*/
/*        min-height: 50px;*/
/*        padding: 0 13px;*/
/*        border: 1px solid #e5e5e5;*/
/*        border-radius: 10px;*/
/*    }*/

/*    .banner-filter-form .input-group label {*/
/*        margin-right: 9px;*/
/*    }*/

/*    .banner-filter-form .search-button-wrapper {*/
/*        width: 100%;*/
/*        padding: 0;*/
/*    }*/

/*    .banner-filter-form .search-submit-btn {*/
/*        width: 100%;*/
/*        min-height: 50px;*/
/*        border-radius: 10px !important;*/
/*    }*/

/*    .banner-filter-form .search-button-text {*/
/*        display: inline;*/
/*    }*/
/*}*/


/* =========================================================
   HOME SEARCH FORM
   ========================================================= */

.banner-filter-form {
    width: 100%;
}

.banner-filter-form .form-wrapper {
    width: 100%;
    padding: 10px;
    background: #ffffff;
    border-radius: 18px;
}

.banner-filter-form .row {
    width: 100%;
    margin: 0;
}

/* =========================================================
   DESKTOP LAYOUT
   ========================================================= */

@media (min-width: 992px) {

    .banner-filter-form .row {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
    }

    .banner-filter-form .search-field {
        padding: 0;
        flex: 0 0 auto;
    }

    /* Looking for */
    .banner-filter-form .search-field:nth-child(1) {
        width: 25%;
    }

    /* Category */
    .banner-filter-form .search-field:nth-child(2) {
        width: 22%;
    }

    /* Subcategory */
    .banner-filter-form .search-field:nth-child(3) {
        width: 22%;
    }

    /* Location */
    .banner-filter-form .search-field:nth-child(4) {
        width: 20%;
    }

    /* Search button */
    .banner-filter-form .search-button-wrapper {
        width: 11%;
        flex: 0 0 11%;
        padding: 0 5px;
    }

    .banner-filter-form .input-group {
        min-height: 54px;
        display: flex;
        align-items: center;
        padding: 0 15px;
        border-right: 1px solid #e5e5e5;
    }

    .banner-filter-form .input-group label {
        flex: 0 0 auto;
        margin: 0 10px 0 0;
        font-size: 17px;
        line-height: 1;
    }

    .banner-filter-form .input-group .form-control {
        width: 100%;
        min-width: 0;
        height: 45px;
        padding: 0;
        border: 0;
        outline: none;
        box-shadow: none;
        background: transparent;
    }

    /* Select2 */
    .banner-filter-form .select2-container {
        width: 100% !important;
    }

    .banner-filter-form
    .select2-container--default
    .select2-selection--single {
        height: 45px;
        border: 0;
        background: transparent;
        border-radius: 0;
        display: flex;
        align-items: center;
    }

    .banner-filter-form
    .select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
        width: 100%;
        padding: 0 30px 0 0;
        line-height: 45px;
        color: #555;
    }

    .banner-filter-form
    .select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
        height: 45px;
        top: 0;
        right: 0;
    }

    /* Search button */
    .banner-filter-form .search-submit-btn {
        width: 100%;
        min-height: 54px;
        padding: 0 12px;
        border: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        white-space: nowrap;
    }

    .banner-filter-form .search-submit-btn i {
        font-size: 16px;
    }

    .banner-filter-form .search-button-text {
        display: inline;
    }
}


/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 576px) and (max-width: 991.98px) {

    .banner-filter-form .form-wrapper {
        padding: 12px;
    }

    .banner-filter-form .search-field {
        margin-bottom: 8px;
        padding: 0 4px;
    }

    .banner-filter-form .input-group {
        min-height: 52px;
        display: flex;
        align-items: center;
        padding: 0 15px;
        border: 1px solid #e5e5e5;
        border-radius: 10px;
        background: #fff;
    }

    .banner-filter-form .search-button-wrapper {
        padding: 0 4px;
    }

    .banner-filter-form .search-submit-btn {
        width: 100%;
        min-height: 52px;
        padding: 0 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        white-space: nowrap;
    }

    .banner-filter-form .search-button-text {
        display: inline;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    .banner-filter-form {
        width: 100%;
    }

    .banner-filter-form .form-wrapper {
        padding: 12px;
        border-radius: 15px;
    }

    .banner-filter-form .search-field {
        width: 100%;
        margin-bottom: 10px;
        padding: 0;
    }

    .banner-filter-form .input-group {
        width: 100%;
        min-height: 50px;
        padding: 0 13px;
        display: flex;
        align-items: center;
        border: 1px solid #e5e5e5;
        border-radius: 10px;
        background: #fff;
    }

    .banner-filter-form .input-group label {
        margin-right: 9px;
    }

    .banner-filter-form .input-group .form-control {
        min-width: 0;
    }

    .banner-filter-form .search-button-wrapper {
        width: 100%;
        padding: 0;
    }

    .banner-filter-form .search-submit-btn {
        width: 100%;
        min-height: 50px;
        padding: 0 15px;
        border-radius: 10px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
    }

    .banner-filter-form .search-button-text {
        display: inline;
    }
}
