
/* =========================================================================
/* ====== SITES SEARCH COMPONENT ELEMENTS & STYLES
/* =======================================================================*/

.simple-search {
	margin:19px 0 0;
	padding:0;
}
 
.simple-search-form {
	margin:0;
	padding: 0;
	position:relative;
}
 
.simple-search-form .search-input {
	border: none;
	border-radius: 3px;
	color: #666;
	height:30px;
	line-height: 16px;
	margin:0;
	padding-right:90px;
}

.simple-search-form .search-input:focus {
	background: #FFF;
	border-color: #08C;
}

.search-wrap .placeholder {
	color: #AAA;
	display: inline;
	font-size: 12px;
	height: 30px;
	line-height: 16px;
	padding: 8px 0;
	position: absolute;
	left: 10px;
	z-index: 10;
}

.search-wrap .placeholder.dim {
	color: #E3E3E3;
}

.search-wrap .placeholder.out {
	display: none;
}


/* // SEARCH SELECT OPTIONS DROPDOWN // */
 
.search-wrap .search-options-select {
	background: #F9F9F9;
	-webkit-appearance:none;
	border:0 none;
	font-size:12px;
	height:30px;
	opacity:0;
	outline:0 none;
	position:absolute;
	right:0;
	top:0;
	width:90px;
	z-index:300;
}
 
.search-wrap .select {
	border-left:1px solid #CCC;
	color:#1e1e1e;
	display:block;
	font-size:11px;
	height:30px;
	line-height:30px;
	padding: 0 10px;
	position:absolute;
	right:20px;
	top:0;
	width:70px;
	z-index:200;
}
 
.search-wrap .tick {
	display:block;
	position:absolute;
	right:15px;
	top:14px;
	z-index:200;
}

/* ==============================================================================
/* ====== _MULTI SEARCH & DECKBUILDER SEARCH
/* ============================================================================= */

.search-description {
    color: #BBB;
    font-style: italic;
}

.deck-columns {
    border: 1px solid #DDD;
    color: #555;
    display: block;
    margin: 20px 0;
    padding: 10px;
}

.search-instructions {
    display: block;
    margin: 20px 0;
    padding: 10px;
}

#multisearch_query {
    min-height: 200px;
}


/* ==============================================================================
/* ====== _ADVANCED SEARCH & ADV SEARCH FORM
/* ============================================================================= */

#advanced_search.show {
    /* this is !important because it overwrites the default inline styles */
    display: block !important;
}

#advanced_search_form {
    border-bottom: 1px solid #DDD;
    margin-bottom: 50px;
    padding-bottom: 30px;
}

#advanced_search { padding: 0!important; }

#advanced_search_form label {
    font-size: 16px;
    text-transform: capitalize;
}

#advanced_search_form input[type="text"],
#advanced_search_form input[type="number"] {
    border-radius: 3px;
    -o-border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;

    height: 40px;
    padding: 5px 10px;
}

#name_includes, #tags_includes {
    margin-bottom: 15px;
}

#name_includes label, #tags_includes label {
    color: #333;
    font-size: 14px;
    height: 20px;
    line-height: 20px;
    margin-bottom: 5px;
}

#filter_in_stock, #filter_buylist_mode {
    height: 20px;
    margin: 10px 0 25px 0;
}

#filter_in_stock label {
    color: red;
    display: block;
    float: left;
    font-size: 16px;
    margin: 0 0 0 5px;
}

#filter_buylist_mode label {
    color: green;
    display: block;
    float: left;
    font-size: 16px;
    margin: 0 0 0 5px;
}

#categories_select, #category_descriptors {
    height: 300px;
    margin-bottom: 40px;
    overflow: scroll;
}

#search_sell_price_gte, #search_sell_price_lte,
#search_buy_price_gte, #search_buy_price_lte {
    float: left;
    width: 43%;
}

#filter_sell_price label:nth-of-type(1),
#filter_buy_price label:nth-of-type(1) {
    color: #08C;
    font-size: 12px;
    height: 20px;
    line-height: 20px;
    margin-bottom: 3px;
}

#filter_sell_price label:nth-of-type(2),
#filter_buy_price label:nth-of-type(2) {
    display: block;
    float: left;
    font-size: 12px;
    line-height: 40px;
    text-align: center;
    text-transform: lowercase;
    width: 14%;
}

#sort_by label { display: none; }

#search_category_ids_with_descendants {
    background: #F5F5F5;
    border: none;
    padding: 10px 13px;
}

#search_descriptors fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

#search_descriptors fieldset legend {
    display: none;
}

#categories_select select {
    width: 100%!important;
}

#search_descriptors, #variant_filters {
    background: #F5F5F5;
}

#search_in_stock, #buylist_mode {
    display: block;
    float: left;
    height: 20px;
}

#search_direction { margin: 0; }

#search_submit { height: 51px; }

#advanced_search .choice_option input {
    float: left;
    margin-right: 5px;
}

#advanced_search_form .choice_option label {
    float: left;
    font-size: 14px;
}

.advanced_search_form_controls {
    color: #bdbdbd;
}

.advanced_search_form_controls a {
    font-size: 13px;
}

#edit_advanced_search {
    margin-right: 5px;
}

#new_advanced_search {
    margin-left: 5px;
}


/* =========================================================================
/* ====== _MOBILE SEARCH COMPONENT ELEMENTS & STYLES
/* =======================================================================*/

.mobile-search-container {
	background: #444;
	display: none;
	padding: 10px;
}

.mobile-search-container.active {
	display: block;
}

.mobile-search-container .simple-search {
	margin: 0;
	padding: 0;
}


@media only screen and (min-width: 320px) and (max-width: 767px) {

    .simple-search {
        margin-bottom: 20px;
    }

}