/*Search Content*/
#search_main h2 a{
	font-size:20px;
	}

/* Toggle Elements within /search/ */

.toggle-advanced-icon {
	border:1px solid gray;
	padding-top:3px;
	padding-bottom:2px;
	padding-left:4px;
	padding-right:4px;
	text-align:center;
	/* vertical-align:middle; */
	border-radius:5px;
	margin-right:5px;
	background:black;
	color:white;
}

.toggle-advanced-icon:hover {
	background:#E9510E;
	border:1px solid #E9510E;
}

a.toggle-advanced-toggler {
	text-decoration:none;
}

/* Search Highlights */
span.highlight {
    background: #004D96 none repeat scroll 0% 0%;
    padding: 0px 4px;
	color:white;
}

/* Specific Styles for Elements */

div#product_search_result_container {
	margin-top:30px;
}

table.search.result.products  {
	margin-bottom:30px;
}

table.search.result {
	background:#F0F9FF;
	border-radius:10px;
}

tab.esearch.result td.cat_name a {
	text-decoration:none;
}

table#search_products_advanced_list-categories tr th,
table#search_products_advanced_list-products tr th {
	color: #FFF;
	padding:10px;
	font-weight:bold;
	vertical-align:top;
	text-align:left;
    border-top: 2px solid #5AC368;
    border-bottom: 2px solid #5AC368;
    background: #004D96;
}

table#search_products_advanced_list-categories tr td,
table#search_products_advanced_list-products tr td {
	padding:10px;
}

/* Mobile Styles */

table.search.result.stacktable-result tr:not(.result) th.st-head-row-main {
	border-top: 2px solid #5AC368;
    border-bottom: 2px solid #5AC368;
    background: #004D96;
	color: #FFF;
}

table.search.result.stacktable-result tr th.st-head-row:not(.st-head-row-main) h2 {
	text-align:center;
}

table.search.result.stacktable-result tr th.st-head-row:not(.st-head-row-main) p.product_name_description {
	padding:10px;
	margin:0 auto;
}

/* Mobile Styles - Categories */

table.search.result.categories tr td.st-key {
	text-align:left;
	vertical-align:top;
	width:20%;
}

table.search.result.categories tr td.st-val {
	text-align:left;
	vertical-align:top;
}

table.search.result.categories tr td.st-val p {
	margin-top:0px;
}

@media (min-width: 796px){
	#search_main th.categories{
		width:25%;
	}
	#search_main th.cat_name{
		width:30%;
	}	
}
@media (max-width: 640px){

	table#products_search_advanced-table tr th,
	table#products_search_advanced-table tr td {
		text-align:left;
		word-wrap: break-all;
		display:block;
	}
	
	tr.toggle-advanced-action th {
		padding-top:20px;
		padding-bottom:20px;
	}
	
}



/* Iphone 6 */

@media (max-width: 480px) {

	#products_search_advanced-table input,
	#products_search_advanced-table select,
	#products_search_advanced-table textarea {
		max-width:300px;
		/* border:1px solid red; */
	}
  
}

/* Iphone 4, 5 */

@media (max-width: 320px) {

	#products_search_advanced-table input,
	#products_search_advanced-table select,
	#products_search_advanced-table textarea {
		max-width:250px;
		/* border:1px solid blue; */
	}

}

/* This is when the SELECT sort_by folds ontop of direction */

@media (max-width: 338px) {

  	tr#products_sortby td select:first-child {
		margin-bottom:10px;
	}
  
}

.search.form td,
.search.form th {
	padding:5px;
}


.product_search_button-search {
	padding: 5px !important;
	font-size: 18px !important;
	padding-left: 10px !important;
	padding-right: 10px !important;
	margin-left:10px;
}