/* ajax search */
#ajaxResults {
	
	position: absolute;
	width: auto;
	right: 0;
	left: 0;
	top: 0;
	max-height: 600px;
	overflow: auto;
	
	z-index: 1100;
	line-height: 22px !important;
	margin: 45px 0px 20px 0px;
	box-shadow: 0px 2px 6px 1px rgba(0, 0, 0, 0.4);
	background-color: #fff;
	color: #000;
}

.ajax-result-table {
	background-color: #fff;
	
	width: 100%;
	table-layout: fixed;
}

.ajax-result-table tr {
	border-bottom: 1px solid #ededed;
}

.ajax-result-table td {
	padding: 0;
	vertical-align: top;
	width: 86%;
	border-right: none;
}

.ajax-result-table td:first-child {
	min-width: 90px;
	width: 14%;
	border-left: none;
}

.ajax-result-table td h2 {
	font-size: 14px;
	font-weight: 400;
	margin-top: 5px;
	word-wrap: break-word;
	
}

.ajax-result-table td a, .ajax-result-table td a:active, .ajax-result-table td a:visited {
	display: inline-block;
	height: 100%;
	width: 100%;
	padding: 5px;
	color: #000;
}

.ajax-result-table td a:hover {
	text-decoration: none;
	
}

.ajax-result-table td h2 small {
	font-size: 70%;
	padding-top: 2px;
	display: inline-block;
	opacity: 0.8;
}

.ajax-result-table td h2 small strong {
	font-size: inherit;
}

.ajax-result-table span.highlight {
	font-weight: 700 !important;
	font-size: inherit !important;
	color: inherit !important;
}

.ajax-result-table .offerPrice {
	font-weight: 600 !important;
	font-size: inherit !important;
	color: #ff5f00 !important;
}

.ajax-result-table .beforePrice {
	color: #999 !important;
	text-decoration: line-through;
	font-weight: 400;
}

.ajax-result-table .priceLine, .ajax-result-table .priceLine strong {
	font-size: 16px !important;
	color: #000;
}

.ajax-result-table .priceLine > .beforePrice {
	font-size: 16px !important;
	font-weight: 300;
}

.ajax-result-table, .ajax-result-table tr {
	margin: 0;
	color: #666;
}

/* .ajax-result-table tr:nth-child(2n){
	background-color: #f2f2f2;
} */
.ajax-result-table span.badge {
	font-size: 10px;
	border-radius: 10px;
	background-color: #eee;
	border: 1px solid #ccc;
	padding: 2px 6px;
	color: #666 !important;
}

.ajax-result-table tr {

}

.ajax-result-table tr:hover {
	background-color: #f8f8f8;
}

.ajax-result-table img {
	width: 100%;
	min-width: 50px;
	
}

.searchMsg, #searchLoader {
	padding: 0px;
}

#searchLoader .server_response {
	font-size: 14px;
	text-align: center;
	display: block;
	padding: 20px;
}

#ajaxResults .loader {
	height: 4px;
	width: 100%;
	position: relative;
	overflow: hidden;
	background-color: #ddd;
	
}

#ajaxResults .loader:before {
	display: block;
	position: absolute;
	content: "";
	left: -200px;
	width: 200px;
	height: 4px;
	background-color: #2980b9;
	animation: ajax_loading 0.8s linear infinite;
}

@keyframes ajax_loading {
	from {
		left: -200px;
		width: 30%;
	}
	50% {
		width: 30%;
	}
	70% {
		width: 70%;
	}
	80% {
		left: 50%;
	}
	95% {
		left: 120%;
	}
	to {
		left: 100%;
	}
}

#ajaxResults.hidden {
	display: none;
}

@media screen and (max-width: 420px) {
	
	#ajaxResults .ajax-result-table img {
		max-width: 100%;
	}
	
	.ajax-result-table td:first-child {
		min-width: 50px;
		width: 20%;
	}
	
	.ajax-result-table .priceLine, .ajax-result-table .priceLine strong {
		font-size: 13px !important;
	}
	
}

@media screen and (min-width: 698px) {
	#ajaxResults {
		min-width: 500px;
	}
}
