/**
 * @version		$id: $
 * @author		Joomseller!
 * @package		Joomla!
 * @subpackage	AJAX Search for Virtuemart
 * @copyright	Copyright (C) 2008 - 2011 by Joomseller Solutions. All rights reserved.
 * @license		http://www.gnu.org/licenses/gpl-3.0.html GNU/GPL version 3, See LICENSE.txt
 */
#vmsearchform div{
  margin:0;
  padding:0;
}

#vmsearchform{
  padding: 0;
  margin:0;
  position: relative;
}
.vm{
	width: 100%!important;
}
#vmsearchform input{
	float: left;
	margin: 0 !important;
	border: 0 !important;
	padding: 0 !important;
	width: 144px;
	font: italic normal normal 13px/26px Arial, Helvetica, sans-serif;
	height: 24px;
	color: #bdbdbd;
	background: none;
}

.dj_ie7 #vmsearchform{
  padding-bottom:0px;
}

#ajaxvmsearcharea{
  height: 23px;
  width: 84px;
  padding-left: 5px;
  padding-right: 25px;
  border: 1px #545454 solid;
  border-right: none;
  line-height: 23px;
  float: left;
}

.search-caption-on{
  color: #aaa;
}

.search-area-loading{
  background: url(../images/loading2.gif) no-repeat right center #FFF;
}

#vmsearchclosebutton{
  background: url(../images/fileclose2.png) center center no-repeat;
  height: 24px;
  width: 24px;
  top:0;
  left: 95px;
  position: absolute;
  cursor: pointer;
  visibility: hidden;
}

#vmsearchbutton{
    cursor: pointer;
    float: left;
    height: 24px;
    width: 24px;
}

.dj_opera #vmsearchbutton{
  background-color: #efefef;
  border-radius: 0;
}

#vmsearchbutton .magnifier{
  background: url(../images/search-button-bg.gif) no-repeat center center;
  height: 24px;
  width: 24px;
  padding:0;
  margin:0;
}

#vmsearchbutton:hover{

}

#search-results{
  position: absolute;
  top:0px;
  left:0px;
  margin-top: 2px;
  visibility: hidden;
  text-decoration: none;
  z-index:1000;
}

#results_moovable{
  position: relative;
  top: 0px;
  left: -80px;
  overflow: hidden;
  height: 0px;
  width: 250px; /**/
  background-color: #FFFFFF;
  border: 1px #545454 solid;
  -webkit-box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.6);
  border-radius: 9px 9px 0px 0px;
/*  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.6); */
}

/*
#results_inner{
  position: relative;
  width: 250px; 
  overflow: hidden;
  padding-bottom: 10px;
}*/

.dj_ie #results_inner{
  padding-bottom: 0px;
}

#search-results .plugin-title{
  
/*  background-color:#ffffff;*/
  background: -moz-linear-gradient(center top , #ffffff, #ffffff) repeat scroll 0 0 transparent;
  line-height: 26px;
  font-size: 12px;
  /* Firefox */
/*  color: #0061a8;*/
  color: #0061a8;
  text-align: left;
  border-top: 0px solid #545454;
  border-bottom: 0px solid #545454;
  font-weight: bold;
  height: 100%;
  margin:0;
  padding:0;
  margin-top: -1px;
}

.dj_opera #search-results .plugin-title{
  background: #ffffff;
/*  border-radius: 0;*/
}

#search-results .plugin-title.first{
    margin-top: -1px;
}

.dj_opera #search-results .plugin-title.first{
  background: #ffffff;
}

.dj_ie #search-results .plugin-title.first{
  margin-top: 0;
} 

#search-results .ie-fix-plugin-title{
  border-top: 0px solid #545454;
  border-bottom: 1px solid #545454;
}


#search-results .plugin-title-inner{
  padding-left:10px;
  padding-right:5px;
  float: left;
  cursor: default;
}

#search-results .pagination{
  margin: 8px;
  margin-left: 0px;
  float: right;
}


#search-results .pager{
  width: 10px;
  height: 10px;
  margin-left: 5px;
  background: url(../images/page_navigation.png) no-repeat;
  float: left;
  padding:0;
}

#search-results .pager:hover{
  background: url(../images/page_navigation.png) no-repeat;
  cursor: pointer;
}


#search-results .pager.active,
#search-results .pager.active:hover{
  background: url(../images/page_navigation_hover.png) no-repeat;
  cursor: default;
}


#search-results .page-container{
  position: relative;
  overflow: hidden;
  height: 264px; /* 66x num of elements */
  width: 250px; /**/
}

#search-results .page-band{
  position: absolute;
  left: 0;
  width: 10000px;
}

#search-results .page-element{
  float: left;
  left: 0;
  cursor: hand;
}

#search-results #results_inner .result-element:hover,
#search-results #results_inner .selected-element{
  text-decoration: none;
  color: #FFFFFF;
  background-color: #474747;


/*  border-top: 1px solid #188dd9;*/
  border-top: none;
  padding-top: 1px;
}

.dj_opera #search-results #results_inner .result-element:hover,
.dj_opera #search-results #results_inner .selected-element{
  background-color:#474747;
/*  border-radius: 0;*/
}


#search-results .result-element{
  display: block;
  width: 250px; /**/
  height: 64px; /*height*/
  color: #01135d;
  font-size: 11px;
  font-weight: normal;
/*  background: url() no-repeat right center;*/
  border-top: 0px solid #545454;
  border-bottom: 1px solid #545454;
  overflow: hidden;
}

#search-results .result-element img{
  display: block;
  float: left;
  padding: 2px;
/*  padding-right:10px;*/
  border: 0px dotted #DDDDDD;
}

#vmsearchform .ajax-clear,
#search-results .ajax-clear{
  clear: both;
}

#search-results .result-element span{
  display: block;
  float: left;
  width: 233px;   /*  margin:5+12 */
  margin-left:5px;
  margin-right:12px;
  line-height: 13px;
  text-align: left;
  cursor: pointer;
  margin-top: 5px;
}

#search-results .result-element span.small-desc{
  margin-top : 2px;
  font-weight: normal;
  line-height: 13px;
  color: #0061a8;
}

#search-results .result-element:hover span.small-desc,
#search-results .selected-element span.small-desc{
  color: #0061a8;
}

#search-results .result-products span{
/*  text-align: center;*/
  width: 161px;   /* padding and pictures: 10+2+60, margin:5+12  */
  margin-top: 5px;
}

#search-results .no-result{
  display: block;
  width: 225px; /**/
  height: 50px; /*height*/
  color: #01135d;
  font-weight: normal;
/*  background: url() no-repeat right center;*/
  border-top: 0px solid #E5E5E5;
  border-bottom: 1px solid #545454;
  overflow: hidden;
  text-align: left;
  padding:10px 4px 4px 4px;
}

#search-results .no-result span{
  width: 233px;   /*  margin:5+12 */
  line-height: 20px;
  text-align: left;
  cursor: default;
}