@import "base";
@import "susy";

/* @group ----- Advanced Search ----- */

#advanced-search .value {
    margin-bottom: 0;
    display: flex;
}

@media screen and (max-width: 767px) {
    #advanced-search .value {
        flex-wrap: wrap;
    }
}

.inputs select[name*="sort"] {
    width: auto;
}

#advanced-search .inputs select, 
#advanced-search .inputs input,
#advanced-search .inputs button, 
#advanced-search .inputs a.button {
    margin: .25rem .25rem .25rem 0;
    min-width: 0;
}

#advanced-search .field-meta {
    margin: .25rem 0;
}

#advanced-search .value > * {
    margin-top: 0;
}

#advanced-search .value select:first-child,
#advanced-search .value input:first-child,
#advanced-search #property-queries .value:first-child select:nth-child(2) {
    margin-left: 0;
}

#advanced-search .multi-value .value:first-child .joiner,
#advanced-search .multi-value .value:only-child button.remove-value {
    display: none;
}

#advanced-search #property-queries .joiner {
    width: initial;
    min-width: initial;
}

#advanced-search #property-queries .query-text:disabled {
    display: none;
}

#advanced-search .add-value {
    margin-bottom: 0;
}

/* @end */
