#search_block_top {
    display: inline-block;
    height:28px;
    float:right;
    text-align:left;
    margin-top:13px;
	position:relative;
}
@media(max-width:767px){
	
	#search_block_top {
                display: block;
        float: none !important;
        text-align: center;
	}
        #search_block_top .field-search{
            display: inline-block;
position: relative;
        }
}
#search_block_top .field-search{
    display:inline-block;
}
#search_block_top #searchbox {
    border:none;
    display: none;
    float: left;
    position: absolute;
    right:-4px;
    top:29px;
    width: 300px;
    background:#ffffff;
    border:1px solid #cacaca;
}
#search_block_top #searchbox:before{
    content: "";
font-family: "FontAwesome";
font-size: 19px;
position: absolute;
right: 29px;
top: -13px;
color:#cd2122;
}
#search_block_top #search_query_top:focus{
box-shadow:none;	
}
#click_show_searchbox{
    height: 28px;
    font-size: 16px;
    line-height: 28px;
    text-align: center;
    cursor: pointer;
    padding: 0 25px;
    color: #444444;
}
#click_show_searchbox.click_hide:before{
	content: "\f057";
        color:#cd2122;
}
#click_show_searchbox:hover.icon-search{
    color:#cd2122;
}
.ac_results img{float:left; margin-right:20px;}
#search_block_top .btn.button-search {
  background: transparent none repeat scroll 0 0;
    border-left: 1px solid #dddddd;
    color: #555555;
    height: 34px;
    right:0;
    position: absolute;
    text-align: center;
    top: 0;
    width: 34px;
    padding: 0;}
#search_block_top .btn.button-search span {
    display: none; }
#search_block_top .btn.button-search.active{
    box-shadow: none;
    background: #cd2122;
}
#search_block_top .btn.button-search.active:before{
    color:#fff;
}
#search_block_top .btn.button-search:before {
    content: "\f002";
    display: block;
    font-family: "FontAwesome";
    font-size: 14px;
    color:#666666;
    width: 100%;
    text-align: center; }
#search_block_top .btn.button-search:hover {
    color: #6f6f6f; }
#search_block_top #search_query_top {
    display: inline-block;
    padding: 0 45px 0 15px;
    height: 34px;
    margin-right: 0px; 
    font-size:13px;
    color:#3e3e3e;
}
.ac_results {
    background: transparent!important;
    border:0;
    box-shadow: 0 13px 6px -11px #d4d4d4 inset, 0 6px 12px -5px #666;
    margin-top: -1px; }
.ac_results li {
    color: #3e3e3e;
    font-size: 13px;
    font-weight: normal;
    line-height: 22px;
    padding: 15px;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: #fff;
    box-shadow: 0px -1px rgba(0, 0, 0, 0.2) inset;
    background:#f2f2f2;
}
.ac_results li.ac_over, .ac_results li:hover {background:#e9e9e9 !important;}
.ac_results li:last-child{
    margin:0;
    box-shadow:none;
    border:0;
}
form#searchbox label {
    color: #333333; }
form#searchbox input#search_query_block {
    margin-right: 10px;
    max-width: 222px;
    margin-bottom: 10px;
    display: inline-block;
    float: left; }
form#searchbox .button.button-small {
    float: left; }
form#searchbox .button.button-small i {
    margin-right: 0; }
.ac_results ul{padding:0;max-height:401px!important;}
.ac_results .right-search span{
    font-size:12px;
}
.ac_results .right-search h5{
    font-size:14px;
    word-wrap: break-word;
    text-shadow: 1px 1px #ffffff;
	cursor:pointer;
}
.ac_results img:hover{
    opacity:0.8;
}
#search_block_top .btn.button-search{transition:all 0.3s ease-in-out 0s; -moz-transition:all 0.3s ease-in-out 0s;-webkit-transition:all 0.3s ease-in-out 0s;}
#search_block_top .form-control{background:transparent; border:0;}
@media(max-width:991px){
#search_block_top{
	height:34px;
}	
#search_block_top #searchbox{
	display:inline-block !important;
	position:static;	
}
#searchbox:before{
	display:none;
}	
#click_show_searchbox{
	display:none;
}	
}
 @media (min-width:768px) and (max-width:991px){
        #search_block_top{
        margin-top:10px;

        }
 }
@media(max-width:767px){
	#search_block_top{
	height: auto;
	padding-bottom: 39px;
	}
	#search_block_top .btn.button-search{
	height:36px;
	}
	
	
}
