<style>
	.ISSelect{float: none!Important;}
</style>

<div class="Block Moveable Panel" id="SearchPageHeader">
	<div class="col-sm-12">
		<center><h2 class="page-title">%%GLOBAL_SearchTitle%%
			<a href="javascript:void(0)" onclick="ToggleSearchForm()">
				<button class="btn compare-button" >Busca Avan&ccedil;ada<i class="fa fa-search"></i></button>
			</a>
		</h2></center>
	</div>


	<div class="BlockContent">
		<div style="display:%%GLOBAL_HideAdvancedOptions%%">
			<div class="AdvancedSearch">
				<form id="AdvancedSearchForm" action="%%GLOBAL_ShopPath%%/search.php" method="get" onsubmit="return CheckAdvancedSearchForm()">
					<input type="hidden" name="mode" value="1" />
					<h3>%%LNG_AdvancedSearch%%</h3>
				
					<div class="form-content">
						<div class="form-group primary-form-group">
							<label for="loginemail">%%LNG_SearchKeyword%%:</label>
							<input type="text" value="%%GLOBAL_FormattedSearchQuery%%" name="search_query_adv" id="search_query_adv" class="form-control input-feild">
						</div>
						<hr>
						<div class="form-group primary-form-group">
							<label for="loginemail">%%LNG_BrandName%%:</label>
							<select class="form-control input-feild" name="brand" id="brand">
								<option value="">%%LNG_NoPreference%%</option>
								%%GLOBAL_BrandNameOptions%%
							</select>
						</div>
						<hr>
            <div class="form-group primary-form-group">
							<label for="loginemail">%%LNG_Categories%%:</label>
								<select multiple="multiple" size="10" class="Field250 ISSelectReplacement " style="height: 200px;width: 300px;" name="category[]" id="category">
									%%GLOBAL_CategoryOptions%%
								</select>
	              <br /><input type="checkbox" class="CheckBox" name="searchsubs" id="searchsubs" value="ON" checked="checked" /> <label for="searchsubs">Pesquisar nas subcategorias
								</label>
						</div>
						<hr>
						<div class="form-group primary-form-group">
							<label for="loginemail">%%LNG_PriceRange%%:</label>
							%%LNG_From%%
							<input type="text" class="Textbox" name="price_from" id="price_from" size="4" style="width: 120px; height: 40px;" value="%%GLOBAL_PriceFrom%%" />&nbsp;
							%%LNG_To%%
							<input type="text" class="Textbox" size="4" name="price_to" id="price_to" style="width: 120px; height: 40px;" value="%%GLOBAL_PriceTo%%" />
						</div>
						<hr>
						<div class="form-group primary-form-group">
							<label for="loginemail">%%LNG_FeaturedProduct%%:</label>
							<select class="form-control input-feild" name="featured" id="featured">
								<option value="">%%LNG_NoPreference%%</option>
								<option value="1">%%LNG_OnlyFeaturedProducts%%</option>
								<option value="2">%%LNG_OnlyNonFeaturedProducts%%</option>
							</select>
						</div>
						<hr>
						<div class="form-group primary-form-group">
							<label for="loginemail">%%LNG_FreeShipping%%:</label>
							<select class="form-control input-feild" name="shipping" id="shipping">
								<option value="">%%LNG_NoPreference%%</option>
								<option value="1">%%LNG_OnlyFreeShipping%%</option>
								<option value="2">%%LNG_OnlyPaidShipping%%</option>
							</select>
						</div>
					</div>
					<button type="submit" class="btn">%%LNG_Search%%</button>
				</form>
		</div>
	</div>
</div>

	<a name="results"></a>
	<p class="InfoMessage" style="display:%%GLOBAL_HideRelatedSearches%%">
		<strong>%%LNG_RelatedSearches%%:</strong> %%SNIPPET_RelatedSearches%%
	</p>
	<p class="SearchSuggest" style="display: %%GLOBAL_ShowSearchSuggestion%%">
		<strong>%%LNG_DidYouMean%%:</strong> <a href="%%GLOBAL_ShopPath%%/search.php?search_query=%%GLOBAL_SuggestQueryEscaped%%&amp;correction=%%GLOBAL_SearchId%%">%%GLOBAL_SuggestQuery%%</a>
	</p>
	%%Panel.SearchJavaScript%%
</div>
