﻿/**
 *	dieUpdater UPAC Aktive Suche (JTL Shop 3 Plugin)
 *	Version 1.0.1 (2013/08/17)
 *
 *  Copyright (c) 2013 dieupdater GmbH, http://www.dieupdater.de, info@dieupdater.de
 *  Examples and documentation at: http://demo.dieupdater.de
 *
 *	CSS Styling für die Standard-Ausgabe der Autocomplete-Box
 */


#up-activesearch {
	width: 480px;
    background-color: #fff;
    border-radius: 2px;
    border: 1px solid #6e6e6e;
    border-top-color: #6e6e6e;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    -khtml-border-radius: 2px;
    box-shadow: 0;
    font-size: 14px;
    position: absolute;
    text-align: left;
    z-index: 9;
    top: 35px;
    right: 0;
}

#up-activesearch table.ac-list.table {
	margin-bottom: 0!important;
}

#up-activesearch table.ac-list.table td {
	padding: 0 8px;
	vertical-align: middle;
}

#up-activesearch a:not(.btn) {
	text-decoration: none;
	color: #000;
}

.ac-listbox {

}

.ac-listbox h3 {
    font-size: 16px;
    margin: 0px -1px 0px -1px;
    padding: 1px 4px 2px 17px;
    background-color: #6e6e6e;
    color: #fff;
}

.ac-listbox .ac-item {
	clear: both;
	padding: 5px;
	cursor: pointer;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-khtml-border-radius: 2px;
	border-bottom: 1px dotted #c0c0c0;
}

.ac-listbox .ac-item:last-child {
	border-bottom: none;
}

#ac-list-produkte p {
	margin: 2px 0px 2px 0px;
	padding: 2px;
}

.ac-item.ac-selected,
#ac-more {
	background-color: #fafafa;
}

#ac-more.ac-selected {
	background-color: #fafafa;	
}

.ac-item h4 {
	margin: 0;
	max-width: 320px;
	min-height: 30px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;	
}

#up-activesearch .ac-item h4 a,
#up-activesearch .ac-category a,
#up-activesearch .ac-manufacturer a {
	display: inline!important;
	font-size: 16px!important;
	overflow: hidden;
	padding: 0!important;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 100%;
}

#up-activesearch .ac-category,
#up-activesearch .ac-manufacturer {
	font-size: 90%;
}
#up-activesearch .ac-category a,
#up-activesearch .ac-manufacturer a {
	display: inline!important;
	font-size: 100%!important;
}
.ac-item.ac-selected .ac-image {

}

.ac-image {
	padding: 0!important;
}

.ac-image img {
	width: 50px;
	height: 50px;
}

#up-activesearch table.ac-list.table td.ac-pricelist {
	text-align: right;
	vertical-align: top;
} 
.ac-pricelist span {
	white-space: nowrap!important;
	font-weight: bold;
}

.ac-price2 {
	text-decoration: line-through;
}

.ac-pricelist span {
	display: block;

}

#up-activesearch .ac-info a:hover {
	text-decoration: underline;
}

#ac-more {
	clear: both;
	margin-top: 5px;
	line-height: 20pt;
	text-align: center;
}


/* Special Kategorien und Hersteller */

#ac-list-kategorien {
	width: 50%;
	float: left;
	border-right: 1px solid #c0c0c0;
}

#ac-list-hersteller {
	float: right;
	width: 50%;
}

#ac-list-kategorien.wide,
#ac-list-hersteller.wide {
	width: auto;
	float: none;
}

#ac-list-seiten .ac-item,
#ac-list-kategorien .ac-item,
#ac-list-hersteller .ac-item {
	padding: 2px;
}

#ac-list-seiten h4,
#ac-list-kategorien h4,
#ac-list-hersteller h4 {
	min-height: auto;
	padding: 2px 0;
}
#ac-list-seiten a,
#ac-list-kategorien a,
#ac-list-hersteller a {
	display: inline!important;
}
#ac-list-seiten .ac-item h4 {
    padding-left: 15px;
    max-width: 410px;
}

#ac-list-kategorien h4,
#ac-list-hersteller h4 {
    max-width: 230px;
}

#ac-list-kategorien h4:before,
#ac-list-hersteller h4:before {
	content: '» ';
	position: relative;
    margin-right: 5px;
    margin-left: 15px;
    top: 2px;
}

.news {
	display: block;
	float: right;
	border: 1px solid #c0c0c0;
	background-color: #f0f0f0;
	padding: 5px 10px;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	-khtml-border-radius: 2px;
}

.ac-item.ac-selected .news {
	color: #000;
}